/*
 * remote_control.h
 *
 *  Created on: Nov 19, 2021
 *      Author: zz
 */

#ifndef APP_REMOTE_CONTROL_H_
#define APP_REMOTE_CONTROL_H_

#include "cmsis_os2.h"
#include "ps2.h"
#include "mot.h"
#include "servo.h"
#include "multi_button.h"
#include "chassis.h"

//启动ps2 遥控
void remote_ctrl_start();

//ps2遥控周期任务， 需置于定时任务或线程中
void remote_ctrl_proc();

//关闭ps2 遥控
void remote_ctrl_exit();

#endif /* APP_REMOTE_CONTROL_H_ */
